fastCSharp.LoadViewType(diantou.question=function(Value)
	{
	fastCSharp.Copy(this,Value);
	this.Path={
		IndexNoLink:'/question/index.html#!questionId='+this.Id,
		Log:'/question/log.html#!questionId='+this.Id,
		Focus:'/question/focus.html#!questionId='+this.Id,
		Favorite:'/question/favorite.html#!questionId='+this.Id
		};
	this.Path.Index=this.LinkId?'/question/index.html#!questionId='+this.LinkId+'&linkId='+this.Id:this.Path.IndexNoLink;
	this.Path.IndexComment=this.Path.Index+'&isAutoComment=1';
	this.isShowComment=0;
	this.comments=[];
	if(this.CommentCount==0)	this.isComments=1;
	this.hideAnswers=[];
	});
diantou.question.prototype={
ProblemPath:function()	{	return diantou.problem.Get({Id:this.ProblemId}).Path.CodeJudge;	},
IgnoreAnswerCount:function()	{	return this.AnswerCount-fastCSharp.PageView.SkinValue.SkinValue.showAnswers.length;	}
		};

fastCSharp.LoadViewType(diantou.userQuestion=function(Value)
	{
	fastCSharp.Copy(this,Value);
	this.IsEditor=!this.Answer||!this.Answer.Content;
	});